package com.ticket.sass.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ticket.sass.admin.mapper.NoticePositionMapper;
import com.ticket.sass.admin.service.BaseService;
import com.ticket.sass.common.entity.tenant.NoticePositionEntity;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ywb
 * @since 2024-03-26
 */
@Service
public class NoticePositionServiceImpl extends ServiceImpl<NoticePositionMapper, NoticePositionEntity> implements BaseService<NoticePositionEntity> {
    public List<Short> getPositionArrayByNoticeId(Long noticeId) {
        return this.baseMapper.getPositionArrayByNoticeId(noticeId);
    }
}
